package com.hdoit.ares.logical.share.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.apache.ibatis.type.Alias;

import com.tennetcn.common.message.ModelBase;
/**
 * @author      wangxuexue
 * @email       
 * @createtime  2017年11月22日 15:27:07
 * @comment
 */
@Alias("trainCourse")
@Entity
@Table(name="share_train_course")
public class TrainCourse extends ModelBase{
    //主键
    @Id
    @Column(name="id")
    private String id;

    //教程标题
    @Column(name="courseTitle")
    private String courseTitle;

    //教程导师
    @Column(name="courseTeacher")
    private String courseTeacher;

    //教程简介
    @Column(name="courseDescription")
    private String courseDescription;

    //教程视频路径id
    @Column(name="courcePathId")
    private String courcePathId;

    //教程缩略图id
    @Column(name="courceThumbnailId")
    private String courceThumbnailId;

    //教程真实价格
    @Column(name="courceTrueprice")
    private double courceTrueprice;

    //教程销售价格
    @Column(name="courceSellingprice")
    private double courceSellingprice;

    //教程原价币种
    @Column(name="courceTrueCurrency")
    private String courceTrueCurrency;

    //教程销售币种
    @Column(name="courceSellingCurrency")
    private String courceSellingCurrency;

    //排序代码
    @Column(name="sortCode")
    private int sortCode;

    //创建日期
    @Column(name="createDate")
    private Date createDate;

    //创建人
    @Column(name="createBy")
    private String createBy;

    //修改日期
    @Column(name="modifyDate")
    private Date modifyDate;

    //修改人
    @Column(name="modifyBy")
    private String modifyBy;

    //删除标识
    @Column(name="deleteMark")
    private String deleteMark;

    //全拼
    @Column(name="code")
    private String code;

    //连拼
    @Column(name="markCode")
    private String markCode;

    //教程类型（预告  热门）
    @Column(name="courseType")
    private String courseType;

    //教程种类名称（视频  教程）
    @Column(name="courseKinds")
    private String courseKinds;
    
    // 浏览次数映射
 	@Transient
 	private  ViewTime viewTime;

    public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getCourseTitle(){
        return this.courseTitle;
    }
    public void setCourseTitle(String courseTitle){
         this.courseTitle=courseTitle;
    }

    public String getCourseTeacher(){
        return this.courseTeacher;
    }
    public void setCourseTeacher(String courseTeacher){
         this.courseTeacher=courseTeacher;
    }

    public String getCourseDescription(){
        return this.courseDescription;
    }
    public void setCourseDescription(String courseDescription){
         this.courseDescription=courseDescription;
    }

    public String getCourcePathId(){
        return this.courcePathId;
    }
    public void setCourcePathId(String courcePathId){
         this.courcePathId=courcePathId;
    }

    public String getCourceThumbnailId(){
        return this.courceThumbnailId;
    }
    public void setCourceThumbnailId(String courceThumbnailId){
         this.courceThumbnailId=courceThumbnailId;
    }

    public double getCourceTrueprice(){
        return this.courceTrueprice;
    }
    public void setCourceTrueprice(double courceTrueprice){
         this.courceTrueprice=courceTrueprice;
    }

    public double getCourceSellingprice(){
        return this.courceSellingprice;
    }
    public void setCourceSellingprice(double courceSellingprice){
         this.courceSellingprice=courceSellingprice;
    }

    public String getCourceTrueCurrency(){
        return this.courceTrueCurrency;
    }
    public void setCourceTrueCurrency(String courceTrueCurrency){
         this.courceTrueCurrency=courceTrueCurrency;
    }

    public String getCourceSellingCurrency(){
        return this.courceSellingCurrency;
    }
    public void setCourceSellingCurrency(String courceSellingCurrency){
         this.courceSellingCurrency=courceSellingCurrency;
    }

    public int getSortCode(){
        return this.sortCode;
    }
    public void setSortCode(int sortCode){
         this.sortCode=sortCode;
    }

    public Date getCreateDate(){
        return this.createDate;
    }
    public void setCreateDate(Date createDate){
         this.createDate=createDate;
    }

    public String getCreateBy(){
        return this.createBy;
    }
    public void setCreateBy(String createBy){
         this.createBy=createBy;
    }

    public Date getModifyDate(){
        return this.modifyDate;
    }
    public void setModifyDate(Date modifyDate){
         this.modifyDate=modifyDate;
    }

    public String getModifyBy(){
        return this.modifyBy;
    }
    public void setModifyBy(String modifyBy){
         this.modifyBy=modifyBy;
    }

    public String getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(String deleteMark){
         this.deleteMark=deleteMark;
    }

    public String getCode(){
        return this.code;
    }
    public void setCode(String code){
         this.code=code;
    }

    public String getMarkCode(){
        return this.markCode;
    }
    public void setMarkCode(String markCode){
         this.markCode=markCode;
    }

    public String getCourseType(){
        return this.courseType;
    }
    public void setCourseType(String courseType){
         this.courseType=courseType;
    }

    public String getCourseKinds(){
        return this.courseKinds;
    }
    public void setCourseKinds(String courseKinds){
         this.courseKinds=courseKinds;
    }
	public ViewTime getViewTimes() {
		return viewTime;
	}
	public void setViewTimes(ViewTime viewTime) {
		this.viewTime = viewTime;
	}
    
    

}